package com.qdu.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qdu.entity.Teacher;


public interface TeacherMapper {
	Teacher selectTeacherById(String id);
	
	boolean addTeacher(@Param("teacher") Teacher Teacher,@Param("acdmid") int acdmid);
	
	boolean modifyTeacher(@Param("teacher") Teacher Teacher,@Param("acdmid") int acdmid);
	
	boolean deleteTeacherById(String id);
	
	List<Teacher> selectTeacherByAcdmid(int acdmid);
	
	List<Teacher> selectAllTeacher();
}
